package com.water.service.Impl;

import com.water.mapper.NoticeMapper;
import com.water.service.NoticeService;
import com.water.vo.NoticeVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: city_water
 * @description:
 * @author: lydms
 * @create: 2024-05-19 20:15
 **/

@Service
public class NoticeServiceImpl implements NoticeService {

    @Autowired
    private NoticeMapper noticeMapper;

    /**
     * 获取通知信息
     *
     * @return
     */
    @Override
    public List<NoticeVo> getInfo() {
      List<NoticeVo> list =  noticeMapper.getInfo();

      return list;
    }
}
